<template>
  <div class="whiteBox container-fluid ">
    <div class="row justify-content-center title">
      <div class="col-9">
        <p>{{head}}</p>
      </div>
    </div>
    <div class="row infoImg justify-content-center">
      <div class="col-9">
        <div class="row justify-content-around">
          <div class="col-3 infoBox" v-show="key<=2" v-for="(item,key) in result" :key="item.id">
            <p class="title">{{item.title}}</p>
            <p class="info">
              {{item.info}}
            </p>
            <div class="imgBox">
              <img :src="item.imgUrl" />
            </div>
            <img src="https://lanhu.oss-cn-beijing.aliyuncs.com/ps6999e6d4ef30d95a-4896-472b-b4bb-ff60cc331c7c" alt="">
          </div>
        </div>
        <div class="seg">
          <img src="https://lanhu.oss-cn-beijing.aliyuncs.com/ps1b766b2df049393b-36b0-4151-8aff-abc2c9ca2a90" />
        </div>
        <div class="row justify-content-around">
          <div class="col-3 infoBox" v-show="key<=6&&key>=3" v-for="(item,key) in result" :key="item.id">
            <img src="https://lanhu.oss-cn-beijing.aliyuncs.com/ps6999e6d4ef30d95a-4896-472b-b4bb-ff60cc331c7c" alt="">
            <div class="imgBox">
              <img :src="item.imgUrl" />
            </div>
            <p class="title">{{item.title}}</p>
            <p class="info">
              {{item.info}}
            </p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      "head": "商品定制流程",
      "result": [
        {
          "id": 0,
          "title": "定价",
          "info": "我方团队详细评估需求定出开发周期和报价",
          "imgUrl": "https://lanhu.oss-cn-beijing.aliyuncs.com/pscc30193ffe3b131e-147f-4f2c-be47-4aaf408003d5"
        },
        {
          "id": 1,
          "title": "定价2",
          "info": "我方团队详细评估需求定出开发周期和报价",
          "imgUrl": "https://lanhu.oss-cn-beijing.aliyuncs.com/pscc30193ffe3b131e-147f-4f2c-be47-4aaf408003d5"
        },
        {
          "id": 2,
          "title": "定价3",
          "info": "我方团队详细评估需求定出开发周期和报价",
          "imgUrl": "https://lanhu.oss-cn-beijing.aliyuncs.com/pscc30193ffe3b131e-147f-4f2c-be47-4aaf408003d5"
        },
        {
          "id": 3,
          "title": "定价4",
          "info": "我方团队详细评估需求定出开发周期和报价",
          "imgUrl": "https://lanhu.oss-cn-beijing.aliyuncs.com/pscc30193ffe3b131e-147f-4f2c-be47-4aaf408003d5"
        },
        {
          "id": 4,
          "title": "定价5",
          "info": "我方团队详细评估需求定出开发周期和报价",
          "imgUrl": "https://lanhu.oss-cn-beijing.aliyuncs.com/pscc30193ffe3b131e-147f-4f2c-be47-4aaf408003d5"
        },
        {
          "id": 5,
          "title": "定价6",
          "info": "我方团队详细评估需求定出开发周期和报价",
          "imgUrl": "https://lanhu.oss-cn-beijing.aliyuncs.com/pscc30193ffe3b131e-147f-4f2c-be47-4aaf408003d5"
        },
        {
          "id": 6,
          "title": "定价7",
          "info": "我方团队详细评估需求定出开发周期和报价",
          "imgUrl": "https://lanhu.oss-cn-beijing.aliyuncs.com/pscc30193ffe3b131e-147f-4f2c-be47-4aaf408003d5"
        },
        {
          "id": 7,
          "title": "定价8",
          "info": "我方团队详细评估需求定出开发周期和报价",
          "imgUrl": "https://lanhu.oss-cn-beijing.aliyuncs.com/pscc30193ffe3b131e-147f-4f2c-be47-4aaf408003d5"
        }

      ]
    }
  }
}
</script>

<style lang="less" scoped>
.whiteBox {
  padding: 7.44rem 0;
  .title {
    text-align: center;
    font-size: 3rem;
    font-family: PingFang SC;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);
  }
  .itemBox {
    margin: 2rem 0;
    display: flex;
    // flex-direction: column;
    // justify-content: center;
    align-items: center;
    .Box {
      display: flex;
      flex-direction: column;
      align-items: center;
      p {
        text-align: center;
      }
      .title {
        font-size: 1.13rem;
        font-family: PingFang SC;
        font-weight: bold;
        color: rgba(51, 51, 51, 1);
      }
      .info {
        font-size: 1rem;
        font-family: PingFang SC;
        font-weight: 400;
        color: rgba(102, 102, 102, 1);
      }
      .imgBox {
        width: 8.75rem;
        height: 8.75rem;
        border-radius: 50%;
        background-color: #5ccfda;
      }
    }
  }
  .info {
    .row {
      margin: 6rem 0;
      .Box {
        display: flex;
        flex-direction: column;
        align-items: center;
        .imgBox {
          width: 100%;
          text-align: center;
          img {
            width: 80%;
          }
        }
        p {
          margin: 1rem 0;
          padding: 0 0;
        }
        .title {
          font-size: 1.5rem;
          font-family: PingFang SC;
          font-weight: 400;
          color: rgba(51, 51, 51, 1);
        }
        .info {
          font-size: 1rem;
          font-family: PingFang SC;
          font-weight: 400;
          color: rgba(153, 153, 153, 1);
        }
      }
    }
  }
  .infoImg {
    margin: 5rem 0;
    .infoBox {
      display: flex;
      flex-direction: column;
      align-items: center;
      // justify-content: center;
      .imgBox {
        width: 8.74rem;
        height: 8.74rem;
        line-height: 8.74rem;
        text-align: center;
        background-color: #5ccfda;
        border-radius: 50%;
        img {
          width: 50%;
          height: auto;
        }
      }
      p {
        text-align: center;
      }
      .title {
        margin-top: 1rem;
        font-size: 1.13rem;
        font-family: PingFang SC;
        font-weight: bold;
        color: rgba(51, 51, 51, 1);
      }
      .info {
        width: 80%;
        font-size: 1rem;
        font-family: PingFang SC;
        font-weight: 400;
        color: rgba(102, 102, 102, 1);
      }
    }
    .seg {
      width: 100%;
      img {
        width: 100%;
        height: auto;
      }
    }
  }
  img {
    height: 7rem;
  }
}
</style>